package com.newway.back.entity.approval;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.newway.common.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("approval_templates")
public class ApprovalTemplate extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer templateId;

    private String templateName;
    private String description;
    private Integer version;
    private String isActive;
    private Integer createdBy;
    private LocalDateTime createdAt;
}